import { Meta } from '@storybook/blocks';

import * as DefaultTextStyleStories from '../stories/DefaultTextStyle.stories';

<Meta of={DefaultTextStyleStories} />

# DefaultTextStyle

The text style to apply to descendant Text widgets without explicit style.


## Example

```dart liveslice=DefaultTextStyle
DefaultTextStyle(
  style: TextStyle(
    fontSize: 60,
    color: Colors.blue,
    fontWeight: FontWeight.bold,
  ),
  child: Text('Flutter'),
)
```

## Related Links

- https://api.flutter.dev/flutter/widgets/DefaultTextStyle-class.html
